<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets">  
   <h:form>
    
     <p:panel id="dossierPanel" toggleable="true"  styleClass="panelForm" 
              header="#{msg['ajouter.candidat.dossier.form.title']}">
	          
		      <p:panelGrid id="dossierGrid" columns="2" styleClass="centered" columnClasses="column1,column2">
                  <h:outputText value="encours.." />
		      </p:panelGrid>
      <p:separator></p:separator>
      <p:commandButton value="Save" id="dossierBtn" icon="ui-icon-check" 
                       process="@form"
                       action="#{candidatController.ajouterCandidat}" update="dossierGrid" />
    
	</p:panel>
	
	<p:blockUI block="dossierPanel" trigger="dossierBtn">  
        Loading...<br />  
        <p:graphicImage value="#{msg['images.loading.path']}"/>  
    </p:blockUI>
   </h:form>
</html>
